package com.meta.platform.area.mapper;

import com.meta.platform.area.domain.Areas;
import com.meta.platform.area.req.ro.AreasRo;

import java.util.List;

/**
 * 地区信息
 *
 * @author M.simple
 * @email 1111111111111@qq.com
 * @date 2020-07-14 18:05:05
 */
public interface AreasMapper {

	/**
	 * insert Areas info
	 * @method insertAreas
	 * @param       areas:
	 * @return void
	 * @author      M.simple
	 * @date        2020-07-14 18:05:05
	 */
	void insertAreas(Areas areas);

	/**
	 * batchInsert Areas info
	 * @method insertAreas
	 * @param       areas:
	 * @return void
	 * @author      M.simple
	 * @date        2020-07-14 18:05:05
	 */
	void batchInsertAreas(List<Areas> areas);

	/**
	 * update Areas info
	 * @method updateAreas
	 * @param       areas:
	 * @return int
	 * @author      M.simple
	 * @date        2020-07-14 18:05:05
	 */
	int updateAreas(Areas areas);

	/**
	 * update Areas info by Pk
	 * @method updateAreasByPk
	 * @param       areas:
	 * @return int
	 * @author      M.simple
	 * @date        2020-07-14 18:05:05
	 */
	int updateAreasByPk(Areas areas);

	/**
	 * list Areas info
	 * @method listAreas
	 * @param       areasRo:
	 * @return List<Areas>
	 * @author      M.simple
	 * @date        2020-07-14 18:05:05
	 */
	List<Areas> listAreas(AreasRo areasRo);

}
